package com.ruoyi.bbsAdmin.domain.vo;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class AdvVo {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 广告类型 0：图片广告；1：报名广告；2：跳转广告 */
    @Excel(name = "广告类型 0：图片广告；1：报名广告；2：跳转广告")
    private Integer kind;

    /** 广告状态 */
    @Excel(name = "广告状态")
    private Integer advState;

    /** 广告标题 */
    @Excel(name = "广告标题")
    private String title;

    /** 广告显示位置 */
    @Excel(name = "广告显示位置")
    private String showPosition;

    /** 广告显示位置对应图片 */
    @Excel(name = "广告显示位置对应图片")
    private String imageUrls;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer schoolId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer advOrder;

    /** 是否展示 */
    @Excel(name = "是否展示")
    private Integer isShowPostDetail;

    /** 是否在首页展示 */
    @Excel(name = "是否在首页展示")
    private Integer isShowIndex;

    /** 首页轮播图图片 */
    @Excel(name = "首页轮播图图片")
    private String imageIndex;

    /** 横向小图 */
    @Excel(name = "横向小图")
    private String imageSmall;

    /** 广告详情页面图片 */
    @Excel(name = "广告详情页面图片")
    private String imageDetail;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String formJson;

    /** 跳转小程序ID */
    @Excel(name = "跳转小程序ID")
    private String miniAppId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String miniAppPage;

    /** 关联报名活动ID */
    @Excel(name = "关联报名活动ID")
    private String activityId;

    @Excel(name = "真实阅读人数")
    private Integer realReadNum;

    @Excel(name = "阅读次数")
    private Integer readNum;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date createTime;

    /** 更新时间 */
    @Excel(name = "更新时间")
    private Date updateTime;

    @Excel(name = "结束时间")
    private Date endTime;

    @Excel(name = "广告信息Json")
    private String advInfoJson;

    private String schoolIdStr;


    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setKind(Integer kind)
    {
        this.kind = kind;
    }

    public Integer getKind()
    {
        return kind;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setSchoolId(Integer schoolId)
    {
        this.schoolId = schoolId;
    }

    public Integer getSchoolId()
    {
        return schoolId;
    }
    public void setAdvOrder(Integer advOrder)
    {
        this.advOrder = advOrder;
    }

    public Integer getAdvOrder()
    {
        return advOrder;
    }

    public void setIsShowPostDetail(Integer isShowPostDetail)
    {
        this.isShowPostDetail = isShowPostDetail;
    }
    public Integer getIsShowPostDetail()
    {
        return isShowPostDetail;
    }

    public void setIsShowIndex(Integer isShowIndex)
    {
        this.isShowIndex = isShowIndex;
    }

    public Integer getIsShowIndex()
    {
        return isShowIndex;
    }
    public void setImageIndex(String imageIndex)
    {
        this.imageIndex = imageIndex;
    }

    public String getImageIndex()
    {
        return imageIndex;
    }
    public void setImageSmall(String imageSmall)
    {
        this.imageSmall = imageSmall;
    }

    public String getImageSmall()
    {
        return imageSmall;
    }
    public void setImageDetail(String imageDetail)
    {
        this.imageDetail = imageDetail;
    }

    public String getImageDetail()
    {
        return imageDetail;
    }
    public void setFormJson(String formJson)
    {
        this.formJson = formJson;
    }

    public String getFormJson()
    {
        return formJson;
    }
    public void setMiniAppId(String miniAppId)
    {
        this.miniAppId = miniAppId;
    }

    public String getMiniAppId()
    {
        return miniAppId;
    }
    public void setMiniAppPage(String miniAppPage)
    {
        this.miniAppPage = miniAppPage;
    }

    public String getMiniAppPage()
    {
        return miniAppPage;
    }
    public void setActivityId(String activityId)
    {
        this.activityId = activityId;
    }

    public String getActivityId()
    {
        return activityId;
    }

    public void setRealReadNum(Integer realReadNum)
    {
        this.realReadNum = realReadNum;
    }
    public Integer getRealReadNum()
    {
        return realReadNum;
    }

    public void setReadNum(Integer readNum)
    {
        this.readNum = readNum;
    }
    public Integer getReadNum()
    {
        return readNum;
    }

    public void setShowPosition(String showPosition)
    {
        this.showPosition = showPosition;
    }
    public String getShowPosition()
    {
        return showPosition;
    }

    public void setImageUrls(String imageUrls)
    {
        this.imageUrls = imageUrls;
    }
    public String getImageUrls()
    {
        return imageUrls;
    }

    public void setAdvState(Integer advState)
    {
        this.advState = advState;
    }
    public Integer getAdvState()
    {
        return advState;
    }

    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getEndTime() {
        return endTime;
    }
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public void setAdvInfoJson(String advInfoJson)
    {
        this.advInfoJson = advInfoJson;
    }
    public String getAdvInfoJson()
    {
        return advInfoJson;
    }

    public void setSchoolIdStr(String schoolIdStr)
    {
        this.schoolIdStr = schoolIdStr;
    }
    public String getSchoolIdStr()
    {
        return schoolIdStr;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("kind", getKind())
                .append("title", getTitle())
                .append("schoolId", getSchoolId())
                .append("advOrder", getAdvOrder())
                .append("isShowPostDetail", getIsShowPostDetail())
                .append("isShowIndex", getIsShowIndex())
                .append("imageIndex", getImageIndex())
                .append("imageSmall", getImageSmall())
                .append("imageDetail", getImageDetail())
                .append("formJson", getFormJson())
                .append("miniAppId", getMiniAppId())
                .append("miniAppPage", getMiniAppPage())
                .append("activityId", getActivityId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("realReadNum", getRealReadNum())
                .append("readNum", getReadNum())
                .append("showPosition", getShowPosition())
                .append("imageUrls", getImageUrls())
                .append("advState", getAdvState())
                .append("endTime", getEndTime())
                .append("createTime", getEndTime())
                .append("updateTime", getEndTime())
                .append("advInfoJson", getAdvInfoJson())
                .append("schoolIdStr", getSchoolIdStr())
                .toString();
    }
}
